//
//  LoginVC.swift
//  DLuxTravel
//
//  Created by 陆涛 on 2018/11/22.
//  Copyright © 2018 imguider. All rights reserved.
//

import UIKit

class LoginVC: BaseVC {

    @IBOutlet weak var loginView: UIView!
    override func viewDidLoad() {
        super.viewDidLoad()

        setupUI()
    }

    private func setupUI() {
        
        loginView.layer.cornerRadius = 8
        
        self.addLeftItem(icon: UIImage(named: "back")) {
            
            [weak self] in
            guard let `self` = self else { return }
            
            self.dismiss(animated: true, completion: nil)
        }
        
        self.setNavBarStyle(.transparency)
    }
}
